#ifndef CUSTOMPUSHBUTTON_H
#define CUSTOMPUSHBUTTON_H

#include <QWidget>
#include <QPushButton>
#include <QKeyEvent>

namespace Ui {
class CustomPushButton;
}

class CustomPushButton : public QPushButton
{
    Q_OBJECT

public:
    explicit CustomPushButton(QWidget *parent = nullptr);
    ~CustomPushButton();
protected:
    void keyPressEvent(QKeyEvent *event) override;

private:
    Ui::CustomPushButton *ui;
};

#endif // CUSTOMPUSHBUTTON_H
